projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb0867
)
(Fclear_string): Signal an error if STRING is not a string.
author
John Paul Wallington
<jpw@pobox.com>
Tue, 6 Jul 2004 05:07:20 +0000
(
05:07
+0000)
committer
John Paul Wallington
<jpw@pobox.com>
Tue, 6 Jul 2004 05:07:20 +0000
(
05:07
+0000)
src/fns.c
patch
|
blob
|
history
diff --git
a/src/fns.c
b/src/fns.c
index 693f3eaaa934130a4abade1aaf8d01c240faddcf..cbd0dc91d2bf5f6f1ba5780757e1f9622dd5621e 100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-2370,6
+2370,7
@@
This makes STRING unibyte and may change its length. */)
(string)
Lisp_Object string;
{
+ CHECK_STRING (string);
int len = SBYTES (string);
bzero (SDATA (string), len);
STRING_SET_CHARS (string, len);